Part Number Hot Search : 
S151MK55 P11NM60 744204 TLN231 74HC64 NJM25 RA121 MC74005N
Product Description
Full Text Search
 

To Download ATMEGA3290PA-14 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  8284fs?avr?07/2014 features ? high performance, low power atmel ? avr ? 8-bit microcontroller ? advanced risc architecture ? 130 powerful instructions ? most single clock cycle execution ? 32 8 general purpose working registers ? fully static operation ? up to 16mips throughput at16mhz (atmel atmega169a/169pa/649a/649p) ? up to 20 mips throughput at 20mhz (atmel atmega329a/329pa/3290a/3290pa/6490a/6490p) ? on-chip 2-cycle multiplier ? high endurance non-volatile memory segments ? in-system self-programmable flash program memory ? 16kbytes (atmel atmega169a/atmega169pa) ? 32kbytes (atmel atmega329a/atmega329pa/atmega3290a/atmega3290pa) ? 64kbytes (atmel atmega649a/atmega649p/atmega6490a/atmega6490p) ? eeprom ? 512bytes (atmega169a/atmega169pa) ? 1kbytes (atmega329a/atmega329pa/atmega3290a/atmega3290pa) ? 2kbytes (atmega649a/atmega649p/atmega6490a/atmega6490p) ? internal sram ? 1kbytes (atmega169a/atmega169pa) ? 2kbytes (atmega329a/atmega329pa/atmega3290a/atmega3290pa) ? 4kbytes (atmega649a/atmega649p/atmega6490a/atmega6490p) ? write/erase cyles: 10,000 flash/100,000 eeprom ? data retention: 20 years at 85c/100 years at 25c (1) ? optional boot code section with independent lock bits ? in-system programming by on-chip boot program ? true read-while-write operation ? programming lock for software security ? atmel qtouch ? library support ? capacitive touch buttons, sliders and wheels ? atmel qtouch and qmatrix acquisition ? up to 64 sense channels ? jtag (ieee std. 1149.1 compliant) interface ? boundary-scan capabilities according to the jtag standard ? extensive on-chip debug support ? programming of flash, eeprom, fuses, and lock bits through the jtag interface ? peripheral features ? 4 25 segment lcd driver (atmega169a/atmega169pa/atmega329a/atmega329pa/atmega649a/atmega649p) ? 4 40 segment lcd driver (atmega3290a/atmega3290pa/atmega6490a/atmega6490p) ? two 8-bit timer/counters with separate prescaler and compare mode ? one 16-bit timer/counter with separate prescaler, compare mode, and capture mode atmel atmega169a/pa/329a/pa/3290a/pa/649a/p/6490a/p 8-bit atmel microcontroller with 16/ 32/64kb in-system programmable flash datasheet summary
2 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 ? real time counter with separate oscillator ? four pwm channels ? 8-channel, 10-bit adc ? programmable serial usart ? master/slave spi serial interface ? universal serial interface with start condition detector ? programmable watchdog timer with separate on-chip oscillator ? on-chip analog comparator ? interrupt and wake-up on pin change ? special microcontroller features ? power-on reset and programmable brown-out detection ? internal calibrated oscillator ? external and internal interrupt sources ? five sleep modes: idle, adc noise reduc tion, power-save, power-down, and standby ? i/o and packages ? 54/69 programmable i/o lines ? 64/100-lead tqfp, 64-pad qfn/mlf, and 64-pad drqfn ? speed grade: ? atmega169a/169pa/649a/649p: ? 0 - 16mhz @ 1.8 - 5.5v ? atmega3290a/3290pa/6490a/6490p: ? 0 - 20mhz @ 1.8 - 5.5v ? temperature range: ? -40c to 85c industrial ? ultra-low power consumption (picopower ? devices) ? active mode: ? 1mhz, 1.8v: 215a ? 32khz, 1.8v: 8a (including oscillator) ? 32khz, 1.8v: 25a (incl uding oscillator and lcd) ? power-down mode: ? 0.1a at 1.8v ? power-save mode: ? 0.6a at 1.8v (including 32khz rtc) ? 750na at 1.8v
3 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 1. pin configurations 1.1 pinout - 64a (tqfp) and 64m1 (qfn/mlf) figure 1-1. pinout atmel atmega169a/atmega169p a/atmega329a/atmega329pa/atmega649a/atmega649p. 64 63 62 47 46 48 45 44 43 42 41 40 39 38 37 36 35 33 34 2 3 1 4 5 6 7 8 9 10 11 12 13 14 16 15 17 61 60 18 59 20 58 19 21 57 22 56 23 55 24 54 25 53 26 52 27 51 29 28 50 49 32 31 30 pc0 (seg12) vcc gnd pf0 (adc0) pf7 (adc7/tdi) pf1 (adc1) pf2 (adc2) pf3 (adc3) pf4 (adc4/tck) pf5 (adc5/tms) pf6 (adc6/tdo) aref gnd avcc (rxd/pcint0) pe0 (txd/pcint1) pe1 lcdcap (xck/ain0/pcint2) pe2 (ain1/pcint3) pe3 (usck/scl/pcint4) pe4 (di/sda/pcint5) pe5 (do/pcint6) pe6 (clko/pcint7) pe7 (ss/pcint8) pb0 (sck/pcint9) pb1 (mosi/pcint10) pb2 (miso/pcint11) pb3 (oc0a/pcint12) pb4 (oc2a/pcint15) pb7 (t1/seg24) pg3 (oc1b/pcint14) pb6 (t0/seg23) pg4 (oc1a/pcint13) pb5 pc1 (seg11) pg0 (seg14) (seg15) pd7 pc2 (seg10) pc3 (seg9) pc4 (seg8) pc5 (seg7) pc6 (seg6) pc7 (seg5) pa7 (seg3) pg2 (seg4) pa6 (seg2) pa5 (seg1) pa4 (seg0) pa3 (com3) pa0 (com0) pa1 (com1) pa2 (com2) pg1 (seg13) (seg16) pd6 (seg17) pd5 (seg18) pd4 (seg19) pd3 (seg20) pd2 (int0/seg21) pd1 (icp1/seg22) pd0 (tosc1) xtal1 (tosc2) xtal2 reset/pg5 gnd vcc index corner
4 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 1.2 pinout - 100a (tqfp) figure 1-2. pinout atmel atmega3290a/atmega3290pa/atmega6490a/atmega6490p. note: the large center pad underneath the qfn/ mlf packages is made of metal and internally connected to gnd. it should be solder ed or glued to the board to ensure good mechanical stability. if th e center pad is left unconnected, the package might loosen from the board. (oc2a/pcint15) pb7 dnc (t1/seg33) pg3 (t0/seg32) pg4 reset/pg5 vcc gnd (tosc2) xtal2 (tosc1) xtal1 dnc dnc (pcint26/seg31) pj2 (pcint27/seg30) pj3 (pcint28/seg29) pj4 (pcint29/seg28) pj5 (pcint30/seg27) pj6 dnc (icp1/seg26) pd0 (int0/seg25) pd1 (seg24) pd2 (seg23) pd3 (seg22) pd4 (seg21) pd5 (seg20) pd6 (seg19) pd7 avcc agnd aref pf0 (adc0) pf1 (adc1) pf2 (adc2) pf3 (adc3) pf4 (adc4/tck) pf5 (adc5/tms) pf6 (adc6/tdo) pf7 (adc7/tdi) dnc dnc ph7 (pcint23/seg36) ph6 (pcint22/seg37) ph5 (pcint21/seg38) ph4 (pcint20/seg39) dnc dnc gnd vcc dnc pa0 (com0) pa1 (com1) pa2 (com2) pa3 (com3) pa4 (seg0) pa5 (seg1) pa6 (seg2) pa7 (seg3) pg2 (seg4) pc7 (seg5) pc6 (seg6) dnc ph3 (pcint19/seg7) ph2 (pcint18/seg8) ph1 (pcint17/seg9) ph0 (pcint16/seg10) dnc dnc dnc dnc pc5 (seg11) pc4 (seg12) pc3 (seg13) pc2 (seg14) pc1 (seg15) pc0 (seg16) pg1 (seg17) pg0 (seg18) index corner 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 lcdcap (rxd/pcint0) pe0 (txd/pcint1) pe1 (xck/ain0/pcint2) pe2 (ain1/pcint3) pe3 (usck/scl/pcint4) pe4 (di/sda/pcint5) pe5 (do/pcint6) pe6 (clko/pcint7) pe7 vcc gnd dnc (pcint24/seg35) pj0 (pcint25/seg34) pj1 dnc dnc dnc dnc (ss/pcint8) pb0 (sck/pcint9) pb1 (mosi/pcint10) pb2 (miso/pcint11) pb3 (oc0a/pcint12) pb4 (oc1a/pcint13) pb5 (oc1b/pcint14) pb6 tqfp
5 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 1.3 pinout - 64mc (drqfn) figure 1-3. pinout atmel atmega169a/atmega169pa. table 1-1. drqfn-64 pinout atmega169a/atmega169pa . top view bottom view a 1 b1 a 2 b2 a 3 b3 a 4 b4 a 5 b5 a 6 b6 a 7 b7 a 8 a 9 b8 a 10 b9 a 11 b10 a 12 b11 a 13 b12 a 14 b13 a 15 b14 a 16 b15 a 17 a25 b22 a24 b21 a23 b20 a22 b19 a21 b18 a20 b17 a19 b16 a18 a34 b30 a33 b29 a32 b28 a31 b27 a30 b26 a29 b25 a28 b24 a27 b23 a26 a 1 b1 a 2 b2 a 3 b3 a 4 b4 a 5 b5 a 6 b6 a 7 b7 a 8 a25 b22 a24 b21 a23 b20 a22 b19 a21 b18 a20 b17 a19 b16 a18 a17 b15 a16 b14 a15 b13 a14 b12 a13 b11 a12 b10 a11 b9 a10 b8 a9 a26 b23 a27 b24 a28 b25 a29 b26 a30 b27 a31 b28 a32 b29 a33 b30 a34 a1 pe0 a9 pb7 a18 pg1 (seg13) a26 pa2 (com2) b1 vlcdcap b8 pb6 b16 pg0 (seg14) b23 pa3 (com3) a2 pe1 a10 pg3 a19 pc0 (seg12) a27 pa1 (com1) b2 pe2 b9 pg4 b17 pc1 (seg11) b24 pa0 (com0) a3 pe3 a11 reset a20 pc2 (seg10) a28 vcc b3 pe4 b10 vcc b18 pc3 (seg9) b25 gnd a4 pe5 a12 gnd a21 pc4 (seg8) a29 pf7 b4 pe6 b11 xtal2 (tosc2) b19 pc5 (seg7) b26 pf6 a5 pe7 a13 xtal1 (tosc1) a22 pc6 (seg6) a30 pf5 b5 pb0 b12 pd0 (seg22) b20 pc7 (seg5) b27 pf4 a6 pb1 a14 pd1 (seg21) a23 pg2 (seg4) a31 pf3 b6 pb2 b13 pd2 (seg20) b21 pa7 (seg3) b28 pf2 a7 pb3 a15 pd3 (seg19) a24 pa6 (seg2) a32 pf1 b7 pb5 b14 pd4 (seg18) b22 pa4 (seg0) b29 pf0 a8 pb4 a16 pd5 (seg17) a25 pa5 (seg1) a33 aref b15 pd7 (seg15) b30 avcc a17 pd6 (seg16) a34 gnd
6 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 2. overview the atmel atmega169a/169pa/329a/329pa/3290a/3290pa/64 9a/649p/6490a/6490p is a low-power cmos 8-bit microcontroller based on the atmel ? avr ? enhanced risc architecture. by executing powerful instructions in a single clock cycle, the atmega169a/169pa/329a/329pa/3290a/3290pa/649a /649p/6490a/6490p achieves throughputs approaching 1 mips per mhz allowing the system designer to op timize power consumption versus processing speed. 2.1 block diagram figure 2-1. block diagram. the avr core combines a rich instruction set with 32 gener al purpose working registers. all the 32 registers are directly connected to the arithmetic logic unit (alu), allowing two independent registers to be accessed in one program counter internal oscillator watchdog timer stack pointer program flash mcu control register sram general purpose registers instruction register timer/ counters instruction decoder data dir. reg. portb data dir. reg. porte data dir. reg. porta data dir. reg. portd data register portb data register porte data register porta data register portd timing and control oscillator interrupt unit eeprom spi usart status register z y x alu portb drivers porte drivers porta drivers portf drivers portd drivers portc drivers pb0 - pb7 pe0 - pe7 pa0 - pa7 pf0 - pf7 vcc gnd xtal1 xtal2 control lines + - analog comparator pc0 - pc7 8-bit data bus reset calib. osc data dir. reg. portc data register portc on-chip debug jtag tap programming logic boundary- scan data dir. reg. portf data register portf adc pd0 - pd7 data dir. reg. portg data reg. portg portg drivers pg0 - pg4 agnd aref avcc universal serial interface avr cpu lcd controller/ driver porth drivers ph0 - ph7 data dir. reg. porth data register porth portj drivers pj0 - pj6 data dir. reg. portj data register portj
7 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 single instruction executed in one cloc k cycle. the resulting architecture is more code efficient while achieving throughputs up to ten times faster th an conventional cisc microcontrollers. the atmel atmega169a/169pa/329a/329pa/3290a/3290 pa/649a/649p/6490a/6490p provides the following features: 16k/32k/64k bytes of in-system programmable fl ash with read-while-write capabilities, 512/1k/2k bytes eeprom, 1k/2k/4k byte sram, 54/69 general purpos e i/o lines, 32 general purpose working registers, a jtag interface for boundary-scan, on-chip debugging support and programming, a complete on-chip lcd controller with internal contrast control, three flexible timer/counters wi th compare modes, internal and external interrupts, a serial programmable usart, universal serial interface with start condition detector, an 8-channel, 10-bit adc, a programmable watchdog timer with internal osc illator, an spi serial po rt, and five software selectable power saving modes. the idle mode stops t he cpu while allowing the sram , timer/counters, spi port, and interrupt system to continue functioning. the powe r-down mode saves the register contents but freezes the oscillator, disabling all other chip func tions until the next interr upt or hardware reset. in power-save mode, the asynchronous timer and the lcd controller continues to run, allowing the user to maintain a timer base and operate the lcd display while the rest of the device is sleeping. the adc noise reduction mode stops the cpu and all i/o modules except asynchronous timer, lcd cont roller and adc, to minimize switching noise during adc conversions. in standby mode, the xtal/resonator oscillator is running while the rest of the device is sleeping. this allows very fast start-up combined with low-power consumption. atmel offers the qtouch library for embedding capacitive to uch buttons, sliders and wheels functionality into avr microcontrollers. the patented charge-t ransfer signal acquisition offers robust sensing and includes fully debounced reporting of touch keys and includes adjacent key suppression ? (aks ? ) technology for unambiguous detection of key events. the easy-to-use qtouch suite t oolchain allows you to explore, develop and debug your own touch applications. the device is manufactured using the atmel high densit y non-volatile memory technology. the on-chip in-system re-programmable (isp) flash allows the program memory to be reprogrammed in-system through an spi serial interface, by a conventional non-vola tile memory programmer, or by an on-chip boot program running on the avr core. the boot program can use any interface to down load the application program in the application flash memory. software in the boot flash se ction will continue to run while the ap plication flash sect ion is updated, providing true read-while-write operation. by combining an 8-bit risc cp u with in-system self-programmable flash on a monolithic chip, the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/64 90a/6490p is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedde d control applications. the atmega169a/169pa/329a/329pa/3290a/3290pa/649a /649p/6490a/6490p avr is supported with a full suite of program and system development tools including: c compilers, macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits.
8 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 2.2 comparison between atmel atmega169a/169pa/329a/329pa/649 a/649p/3290a/3290pa/6490a/6490p table 2-1. differences between: atmega169a/169pa/329a/329pa/649a/ 649p/3290a/3290pa/6490a/6490p. device flash eeprom ram lcd segments atmega169a 16kbyte 512bytes 1kbyte 4 25 atmega169pa 16kbyte 512bytes 1kbyte 4 25 atmega329a 32kbyte 1kbyte 2kbyte 4 25 atmega329pa 32kbyte 1kbyte 2kbyte 4 25 atmega3290a 32kbytes 1kbyte 2kbyte 4 40 atmega3290pa 32kbyte 1kbyte 2kbyte 4 40 atmega649a 64kbyte 2kbyte 4kbyte 4 25 atmega649p 64kbyte 2kbyte 4kbyte 4 25 atmega6490a 64kbyte 2kbyte 4kbyte 4 40 atmega6490p 64kbyte 2kbyte 4kbyte 4 40
9 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 2.3 pin descriptions the following section describes the i/o-pin special functions. 2.3.1 v cc digital supply voltage. 2.3.2 gnd ground. 2.3.3 port a (pa7...pa0) port a is an 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for each bit). the port a output buffers have symmetrical drive characteri stics with both high sink and source ca pability. as inputs, port a pins that are externally pulled low will sour ce current if the pull-up resistors are activa ted. the port a pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port a also serves the functions of various special features of the atmel atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 72 . 2.3.4 port b (pb7...pb0) port b is an 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for each bit). the port b output buffers have symmetrical drive characteri stics with both high sink and source ca pability. as inputs, port b pins that are externally pulled low will sour ce current if the pull-up resistors are activa ted. the port b pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port b has better driving c apabilities than th e other ports. port b also serves the functions of various special features of the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 73 . 2.3.5 port c (pc7...pc0) port c is an 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for ea ch bit). the port c output buffers have symmetrical drive characteri stics with both high sink and source capa bility. as inputs, port c pins that are externally pulled low will source curren t if the pull-up resistors are activated. the port c pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port c also serves the functions of special features of the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 76 . 2.3.6 port d (pd7...pd0) port d is an 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for ea ch bit). the port d output buffers have symmetrical drive characteri stics with both high sink and source capa bility. as inputs, port d pins that are externally pulled low will source curren t if the pull-up resistors are activated. the port d pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port d also serves the functions of various special features of the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 77 . 2.3.7 port e (pe7...pe0) port e is an 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for each bit). the port e output buffers have symmetrical drive characteri stics with both high sink and source ca pability. as inputs, port e pins that
10 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 are externally pulled low will sour ce current if the pull-up resistors are activa ted. the port e pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port e also serves the functions of various special features of the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 79 . 2.3.8 port f (pf7...pf0) port f serves as the analog inputs to the a/d converter. port f also serves as an 8-bit bi-directional i/o port, if t he a/d converter is not used. port pins can provide internal pull-up resistors (selected for each bit). the port f outpu t buffers have symmetrical drive characteristics with both high sink and source capabilit y. as inputs, port f pins th at are externally pulled low will source current if the pull-up resistors are activated. the port f pins are tri-stated when a reset condition becomes active, even if the clock is not running. if the jtag in terface is enabled, the pull-up resistors on pins pf7(tdi), pf5(tms) , and pf4(tck) will be activated even if a reset occurs. port f also serves the func tions of the jtag interface. 2.3.9 port g (pg5...pg0) port g is a 6-bit bi-directional i/o port with internal pu ll-up resistors (selected for each bit). the port g output buffers have symmetrical drive characteristics with both high sink and sour ce capability. as inputs, port g pins that are externally pulled low will so urce current if the pull-up resistors are activated. the port g pins are tri-stated when a reset condition becomes active, even if the clock is not running. port g also serves the functions of various special features of the atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490p as listed on page 83 . 2.3.10 port h (ph7...ph0) port h is a 8-bit bi-directional i/o port with internal pu ll-up resistors (selected for each bit). the port h output buffers have symmetrical drive characteri stics with both high sink and source capa bility. as inputs, port h pins that are externally pulled low will source curren t if the pull-up resistors are activated. the port h pins are tri-stated when a reset condition becomes active, ev en if the clock is not running. port h also serves the functions of various specia l features of the atmega3290pa/6490p as listed on page 85 . 2.3.11 port j (pj6...pj0) port j is a 7-bit bi-directional i/o port with internal pull-up resistors (selected for each bit). the port j output buffers have symmetrical drive ch aracteristics with both high si nk and source capability. as inputs, port j pins that are externally pulled low will source current if the pull-up resist ors are activated. the port j pins are tri-stated when a reset condition becomes active, even if the clock is not running. port j also serves the functions of various specia l features of the atmega3290pa/6490p as listed on page 87 . 2.3.12 reset reset input. a low level on this pin fo r longer than the minimum pulse length will generate a reset, even if the clock is not running. the minimum pulse length is given in ?system and reset characteristics? on page 332 . shorter pulses are not guaranteed to generate a reset. 2.3.13 xtal1 input to the inverting oscillato r amplifier and input to the in ternal clock operating circuit. 2.3.14 xtal2 output from the invert ing oscillator amplifier.
11 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 2.3.15 avcc avcc is the supply voltage pin for port f and the a/d converter. it should be externally connected to v cc , even if the adc is not used. if the adc is used, it should be connected to v cc through a low-pass filter. 2.3.16 aref this is the analog reference pin for the a/d converter. 2.3.17 lcdcap an external capacitor (typical > 470 nf) must be connected to the lcdcap pin as shown in figure 24-2 , if the lcd module is enabled and configured to use internal power. this capacitor acts as a reservoir for lcd power (v lcd ). a large capacitance reduces ripple on v lcd but increases the time until v lcd reaches its target value.
12 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 3. resources a comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. note: 1. 4. data retention reliability qualification results show that the projected data retention failu re rate is much less than 1 ppm over 20 years at 85c or 100 years at 25c. 5. about code examples this documentation contains simple code examples that briefly show how to use various parts of the device. these code examples assume that the part specific header file is included befor e compilation. be aware that not all c compiler vendors include bit definitions in the header files and interrupt handling in c is compiler dependent. please confirm with the c compile r documentation for more details. for i/o registers located in extended i/o map, ?in?, ?out?, ?sbis?, ?sbic?, ?cbi?, and ?sbi? instructions must be replaced with instructions that allo w access to extended i/o. typically ?lds? and ?sts? combined with ?sbrs?, ?sbrc?, ?sbr?, and ?cbr?. 6. capacitive touch sensing the atmel ? qtouch ? library provides a simple to use solution to re alize touch sensitive interfaces on most atmel avr ? microcontrollers. the qtouch library incl udes support for t he qtouch and qmatrix ? acquisition methods. touch sensing can be added to any application by linking the appropriate atmel qtouch library for the avr microcontroller. this is done by using a simple set of apis to define the touch channe ls and sensors, and then calling the touch sensing api?s to re trieve the channel info rmation and determine th e touch sensor states. the qtouch library is free and downloadable from the atmel website at the following location: www.atmel.com/qtouchlibrary . for implementation details and other information, refer to the atmel qtouch library user guide - also available for download from the atmel website. 7. register summary note: registers with bold type only avail able in atmel atmega3290a/3290pa/6490a/6490p. address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page (0xff) lcddr19 seg339 seg338 seg337 seg336 seg335 seg334 seg333 seg332 236 (0xfe) lcddr18 seg331 seg330 seg329 seg328 seg327 seg326 seg325 seg324 236 (0xfd) lcddr17 seg323 seg322 seg321 seg320 seg319 seg318 seg317 seg316 236 (0xfc) lcddr16 seg315 seg314 seg313 seg312 seg311 seg310 seg309 seg308 236 (0xfb) lcddr15 seg307 seg306 seg305 seg304 seg303 seg302 seg301 seg300 236 (0xfa) lcddr14 seg239 seg238 seg237 seg236 seg235 seg234 seg233 seg232 236 (0xf9) lcddr13 seg231 seg230 seg229 seg228 seg227 seg226 seg225 seg224 236 (0xf8) lcddr12 seg223 seg222 seg221 seg220 seg219 seg218 seg217 seg216 236 (0xf7) lcddr11 seg215 seg214 seg213 seg212 seg211 seg210 seg209 seg208 236 (0xf6) lcddr10 seg207 seg206 seg205 seg204 seg203 seg202 seg201 seg200 236 (0xf5) lcddr09 seg139 seg138 seg137 seg136 seg135 seg134 seg133 seg132 236
13 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 (0xf4) lcddr08 seg131 seg130 seg129 seg128 seg127 seg126 seg125 seg124 236 (0xf3) lcddr07 seg123 seg122 seg121 seg120 seg119 seg118 seg117 seg116 236 (0xf2) lcddr06 seg115 seg114 seg113 seg112 seg111 seg110 seg109 seg108 236 (0xf1) lcddr05 seg107 seg106 seg105 seg104 seg103 seg102 seg101 seg100 236 (0xf0) lcddr04 seg039 seg038 seg037 seg036 seg035 seg034 seg033 seg032 236 (0xef) lcddr03 seg031 seg030 seg029 seg028 seg027 seg026 seg025 seg024 236 (0xee) lcddr02 seg023 seg022 seg021 seg020 seg019 seg018 seg017 seg016 236 (0xed) lcddr01 seg015 seg014 seg013 seg012 seg011 seg010 seg009 seg008 236 (0xec) lcddr00 seg007 seg006 seg005 seg004 seg003 seg002 seg001 seg000 236 (0xeb) reserved - - - - - - - - (0xea) reserved - - - - - - - - (0xe9) reserved - - - - - - - - (0xe8) reserved - - - - - - - - (0xe7) lcdccr lcddc2 lcddc1 lcddc0 lcdmdt lcdcc3 lcdcc2 lcdcc1 lcdcc0 234 (0xe6) lcdfrr - lcdps2 lcdps1 lcdps0 - lcdcd2 lcdcd1 lcdcd0 233 (0xe5) lcdcrb lcdcs lcd2b lcdmux1 lcdmux0 lcdpm3 lcdpm2 lcdpm1 lcdpm0 232 (0xe4) lcdcra lcden lcdab - lcdif lcdie lcdbd lcdccd lcdbl 231 (0xe3) reserved - - - - - - - - (0xe2) reserved - - - - - - - - (0xe1) reserved - - - - - - - - (0xe0) reserved - - - - - - - - (0xdf) reserved - - - - - - - - (0xde) reserved - - - - - - - - (0xdd) portj - portj6 portj5 portj4 portj3 portj2 portj1 portj0 93 (0xdc) ddrj - ddj6 ddj5 ddj4 ddj3 ddj2 ddj1 ddj0 93 (0xdb) pinj - pinj6 pinj5 pinj4 pinj3 pinj2 pinj1 pinj0 93 (0xda) porth porth7 porth6 porth5 porth4 porth3 porth2 porth1 porth0 93 (0xd9) ddrh ddh7 ddh6 ddh5 ddh4 ddh3 ddh2 ddh1 ddh0 93 (0xd8) pinh pinh7 pinh6 pinh5 pinh4 pinh3 pinh2 pinh1 pinh0 93 (0xd7) reserved - - - - - - - - (0xd6) reserved - - - - - - - - (0xd5) reserved - - - - - - - - (0xd4) reserved - - - - - - - - (0xd3) reserved - - - - - - - - (0xd2) reserved - - - - - - - - (0xd1) reserved - - - - - - - - (0xd0) reserved - - - - - - - - (0xcf) reserved - - - - - - - - (0xce) reserved - - - - - - - - (0xcd) reserved - - - - - - - - (0xcc) reserved - - - - - - - - (0xcb) reserved - - - - - - - - (0xca) reserved - - - - - - - - (0xc9) reserved - - - - - - - - (0xc8) reserved - - - - - - - - (0xc7) reserved - - - - - - - - (0xc6) udr0 usart0 data register 186 (0xc5) ubrr0h usart0 baud rate register high 190 (0xc4) ubrr0l usart0 baud rate register low 190 (0xc3) reserved - - - - - - - - (0xc2) ucsr0c - umsel0 upm01 upm00 usbs0 ucsz01 ucsz00 ucpol0 189 (0xc1) ucsr0b rxcie0 txcie0 udrie0 rxen0 txen0 ucsz02 rxb80 txb80 188 (0xc0) ucsr0a rxc0 txc0 udre0 fe0 dor0 upe0 u2x0 mpcm0 187 (0xbf) reserved - - - - - - - - (0xbe) reserved - - - - - - - - (0xbd) reserved - - - - - - - - (0xbc) reserved - - - - - - - - (0xbb) reserved - - - - - - - - (0xba) usidr usi data register 197 (0xb9) usisr usisif usioif usipf usidc usicnt3 usicnt2 usicnt1 usicnt0 198 (0xb8) usicr usisie usioie usiwm1 usiwm0 usics1 usics0 usiclk usitc 198 (0xb7) reserved - - - - - - - - (0xb6) assr - - - exclk as2 tcn2ub ocr2ub tcr2ub 153 (0xb5) reserved - - - - - - - - (0xb4) reserved - - - - - - - - address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
14 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 (0xb3) ocr2a timer/counter 2 output compare register a 153 (0xb2) tcnt2 timer/counter2 153 (0xb1) reserved - - - - - - - - (0xb0) tccr2a foc2a wgm20 com2a1 com2a0 wgm21 cs22 cs21 cs20 151 (0xaf) reserved - - - - - - - - (0xae) reserved - - - - - - - - (0xad) reserved - - - - - - - - (0xac) reserved - - - - - - - - (0xab) reserved - - - - - - - - (0xaa) reserved - - - - - - - - (0xa9) reserved - - - - - - - - (0xa8) reserved - - - - - - - - (0xa7) reserved - - - - - - - - (0xa6) reserved - - - - - - - - (0xa5) reserved - - - - - - - - (0xa4) reserved - - - - - - - - (0xa3) reserved - - - - - - - - (0xa2) reserved - - - - - - - - (0xa1) reserved - - - - - - - - (0xa0) reserved - - - - - - - - (0x9f) reserved - - - - - - - - (0x9e) reserved - - - - - - - - (0x9d) reserved - - - - - - - - (0x9c) reserved - - - - - - - - (0x9b) reserved - - - - - - - - (0x9a) reserved - - - - - - - - (0x99) reserved - - - - - - - - (0x98) reserved - - - - - - - - (0x97) reserved - - - - - - - - (0x96) reserved - - - - - - - - (0x95) reserved - - - - - - - - (0x94) reserved - - - - - - - - (0x93) reserved - - - - - - - - (0x92) reserved - - - - - - - - (0x91) reserved - - - - - - - - (0x90) reserved - - - - - - - - (0x8f) reserved - - - - - - - - (0x8e) reserved - - - - - - - - (0x8d) reserved - - - - - - - - (0x8c) reserved - - - - - - - - (0x8b) ocr1bh timer/counter1 output compare register b high 130 (0x8a) ocr1bl timer/counter1 output compare register b low 130 (0x89) ocr1ah timer/counter1 output compare register a high 130 (0x88) ocr1al timer/counter1 output compare register a low 130 (0x87) icr1h timer/counter1 input capture register high 131 (0x86) icr1l timer/counter1 input capture register low 131 (0x85) tcnt1h timer/counter1 high 130 (0x84) tcnt1l timer/counter1 low 130 (0x83) reserved - - - - - - - - (0x82) tccr1c foc1a foc1b - - - - - - 129 (0x81) tccr1b icnc1 ices1 - wgm13 wgm12 cs12 cs11 cs10 128 (0x80) tccr1a com1a1 com1a0 com1b1 com1b0 - -wgm11wgm10 126 (0x7f) didr1 - - - - - -ain1dain0d 203 (0x7e) didr0 adc7d adc6d adc5d adc4d adc3d adc2d adc1d adc0d 220 (0x7d) reserved - - - - - - - - (0x7c) admux refs1 refs0 adlar mux4 mux3 mux2 mux1 mux0 216 (0x7b) adcsrb -acme - - - adts2 adts1 adts0 202/219 (0x7a) adcsra aden adsc adate adif adie adps2 adps1 adps0 218 (0x79) adch adc data register high 219 (0x78) adcl adc data register low 219 (0x77) reserved - - - - - - - - (0x76) reserved - - - - - - - - (0x75) reserved - - - - - - - - (0x74) reserved - - - - - - - - (0x73) pcmsk3 - pcint30 pcint29 pcint28 pcint27 pcint26 pcint25 pcint24 64 address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
15 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 (0x72) reserved - - - - - - - - (0x71) reserved - - - - - - - - (0x70) timsk2 - - - - - - ocie2a toie2 154 (0x6f) timsk1 - -icie1 - - ocie1b ocie1a toie1 131 (0x6e) timsk0 - - - - - - ocie0a toie0 137 (0x6d) pcmsk2 pcint23 pcint22 pcint21 pcint20 pcint19 pcint18 pcint17 pcint16 64 (0x6c) pcmsk1 pcint15 pcint14 pcint13 pcint12 pcint11 pcint10 pcint9 pcint8 64 (0x6b) pcmsk0 pcint7 pcint6 pcint5 pcin t4 pcint3 pcint2 pcint1 pcint0 64 (0x6a) reserved - - - - - - - - (0x69) eicra - - - - - -isc01isc00 61 (0x68) reserved - - - - - - - - (0x67) reserved - - - - - - - - (0x66) osccal oscillator calibration register [cal7...0] 38 (0x65) reserved - - - - - - - - (0x64) prr - - - prlcd prtim1 prspi psusart0 pradc 46 (0x63) reserved - - - - - - - - (0x62) reserved - - - - - - - - (0x61) clkpr clkpce - - - clkps3 clkps2 clkps1 clkps0 38 (0x60) wdtcr - - - wdce wde wdp2 wdp1 wdp0 53 0x3f (0x5f) sreg i t h s v n z c 15 0x3e (0x5e) sph stack pointer high 17 0x3d (0x5d) spl stack pointer low 17 0x3c (0x5c) reserved - - - - - - - - 0x3b (0x5b) reserved - - - - - - - - 0x3a (0x5a) reserved - - - - - - - - 0x39 (0x59) reserved - - - - - - - - 0x38 (0x58) reserved - - - - - - - - 0x37 (0x57) spmcsr spmie rwwsb - rwwsre blbset pgwrt pgers spmen 289 0x36 (0x56) reserved 0x35 (0x55) mcucr jtd bods bodse pud - - ivsel ivce 59 / 90 / 275 0x34 (0x54) mcusr - - - jtrf wdrf borf extrf porf 53 0x33 (0x53) smcr - - - - sm2 sm1 sm0 se 45 0x32 (0x52) reserved - - - - - - - - 0x31 (0x51) ocdr idrd/ocdr7 ocdr6 ocdr5 ocdr4 ocdr3 ocdr2 ocdr1 ocdr0 242 0x30 (0x50) acsr acd acbg aco aci acie acic acis1 acis0 202 0x2f (0x4f) reserved - - - - - - - - 0x2e (0x4e) spdr spi data register 165 0x2d (0x4d) spsr spif wcol - - - - - spi2x 164 0x2c (0x4c) spcr spie spe dord mstr cpol cpha spr1 spr0 163 0x2b (0x4b) gpior2 general purpose i/o register 29 0x2a (0x4a) gpior1 general purpose i/o register 29 0x29 (0x49) reserved - - - - - - - - 0x28 (0x48) reserved - - - - - - - - 0x27 (0x47) ocr0a timer/counter0 output compare a 138 0x26 (0x46) tcnt0 timer/counter0 137 0x25 (0x45) reserved - - - - - - - - 0x24 (0x44) tccr0a foc0a wgm00 com0a1 com0a0 wgm01 cs02 cs01 cs00 135 0x23 (0x43) gtccr tsm - - - - - psr2 psr10 138 / 155 0x22 (0x42) eearh - - - - - eeprom address register high 28 0x21 (0x41) eearl eeprom address register low 28 0x20 (0x40) eedr eeprom data register 28 0x1f (0x3f) eecr - - - - eerie eemwe eewe eere 28 0x1e (0x3e) gpior0 general purpose i/o register 29 0x1d (0x3d) eimsk pcie pcie2 pcie1 pcie0 - - -int0 62 0x1c (0x3c) eifr pcif3 pcif2 pcif1 pcif0 - - - intf0 63 0x1b (0x3b) reserved - - - - - - - - 0x1a (0x3a) reserved - - - - - - - - 0x19 (0x39) reserved - - - - - - - - 0x18 (0x38) reserved - - - - - - - - 0x17 (0x37) tifr2 - - - - - -ocf2atov2 154 0x16 (0x36) tifr1 - -icf1 - -ocf1bocf1atov1 131 0x15 (0x35) tifr0 - - - - - -ocf0atov0 138 0x14 (0x34) portg - - - portg4 portg3 portg2 portg1 portg0 92 0x13 (0x33) ddrg - - - ddg4 ddg3 ddg2 ddg1 ddg0 92 0x12 (0x32) ping - - ping5 ping4 ping3 ping2 ping1 ping0 92 address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
16 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 notes: 1. for compatibility with future devices, reserved bits shou ld be written to zero if accesse d. reserved i/o memory address es should never be written. 2. i/o registers within the address range 0x00 - 0x1f are directly bit-accessible using the sbi and cbi instructions. in these registers, the value of single bits can be ch ecked by using the sbis and sbic instructions. 3. some of the status flags are cleared by writing a logical one to them. note that, unlike most other avrs, the cbi and sbi instructions will only operate on the specified bit, and can ther efore be used on registers containing such status flags. the cbi and sbi instructions work wit h registers 0x00 to 0x1f only. 4. when using the i/o specific commands in and out, the i/o addresses 0x00 - 0x3f must be used. when addressing i/o registers as data space using ld and st instructio ns, 0x20 must be added to these addresses. the atmel atmega169a/169pa/329a/329pa/3290a/329 0pa/649a/649p/6490a/6490p is a co mplex microcontroll er with more peripheral units than can be supported within the 64 location reserved in opcode for the in and out instructions. for the extended i/o space from 0x60 - 0xff in sram, only the st/sts/std and ld/lds/ldd instructions can be used. 0x11 (0x31) portf portf7 portf6 portf5 portf4 portf3 portf2 portf1 portf0 92 0x10 (0x30) ddrf ddf7 ddf6 ddf5 ddf4 ddf3 ddf2 ddf1 ddf0 92 0x0f (0x2f) pinf pinf7 pinf6 pinf5 pinf4 pinf3 pinf2 pinf1 pinf0 92 0x0e (0x2e) porte porte7 porte6 porte5 porte4 porte3 porte2 porte1 porte0 91 0x0d (0x2d) ddre dde7 dde6 dde5 dde4 dde3 dde2 dde1 dde0 92 0x0c (0x2c) pine pine7 pine6 pine5 pine4 pine3 pine2 pine1 pine0 92 0x0b (0x2b) portd portd7 portd6 portd5 portd4 portd3 portd2 portd1 portd0 91 0x0a (0x2a) ddrd ddd7 ddd6 ddd5 ddd4 ddd3 ddd2 ddd1 ddd0 91 0x09 (0x29) pind pind7 pind6 pind5 pind4 pind3 pind2 pind1 pind0 91 0x08 (0x28) portc portc7 portc6 portc5 portc4 portc3 portc2 portc1 portc0 91 0x07 (0x27) ddrc ddc7 ddc6 ddc5 ddc4 ddc3 ddc2 ddc1 ddc0 91 0x06 (0x26) pinc pinc7 pinc6 pinc5 pinc4 pinc3 pinc2 pinc1 pinc0 91 0x05 (0x25) portb portb7 portb6 portb5 portb4 portb3 portb2 portb1 portb0 90 0x04 (0x24) ddrb ddb7 ddb6 ddb5 ddb4 ddb3 ddb2 ddb1 ddb0 90 0x03 (0x23) pinb pinb7 pinb6 pinb5 pinb4 pinb3 pinb2 pinb1 pinb0 91 0x02 (0x22) porta porta7 porta6 porta5 porta4 porta3 porta2 porta1 porta0 90 0x01 (0x21) ddra dda7 dda6 dda5 dda4 dda3 dda2 dda1 dda0 90 0x00 (0x20) pina pina7 pina6 pina5 pina4 pina3 pina2 pina1 pina0 90 address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
17 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 8. instruction set summary mnemonics operands description operation flags #clocks arithmetic and logic instructions add rd, rr add two registers rd rd + rr z,c,n,v,h 1 adc rd, rr add with carry two registers rd rd + rr + c z,c,n,v,h 1 adiw rdl,k add immediate to word rdh:rdl rdh:rdl + k z,c,n,v,s 2 sub rd, rr subtract two registers rd rd - rr z,c,n,v,h 1 subi rd, k subtract constant from register rd rd - k z,c,n,v,h 1 sbc rd, rr subtract with carry two registers rd rd - rr - c z,c,n,v,h 1 sbci rd, k subtract with carry constant from reg. rd rd - k - c z,c,n,v,h 1 sbiw rdl,k subtract immediate from word rdh:rdl rdh:rdl - k z,c,n,v,s 2 and rd, rr logical and registers rd rd ? rr z,n,v 1 andi rd, k logical and register and constant rd rd ? k z,n,v 1 or rd, rr logical or registers rd rd v rr z,n,v 1 ori rd, k logical or register and constant rd rd v k z,n,v 1 eor rd, rr exclusive or registers rd rd rr z,n,v 1 com rd one?s complement rd 0xff ? rd z,c,n,v 1 neg rd two?s complement rd 0x00 ? rd z,c,n,v,h 1 sbr rd,k set bit(s) in register rd rd v k z,n,v 1 cbr rd,k clear bit(s) in register rd rd ? (0xff - k) z,n,v 1 inc rd increment rd rd + 1 z,n,v 1 dec rd decrement rd rd ? 1 z,n,v 1 tst rd test for zero or minus rd rd ? rd z,n,v 1 clr rd clear register rd rd rd z,n,v 1 ser rd set register rd 0xff none 1 mul rd, rr multiply unsigned r1:r0 rd x rr z,c 2 muls rd, rr multiply signed r1:r0 rd x rr z,c 2 mulsu rd, rr multiply signed with unsigned r1:r0 rd x rr z,c 2 fmul rd, rr fractional multiply unsigned r1:r0 (rd x rr) << 1 z,c 2 fmuls rd, rr fractional multiply signed r1:r0 (rd x rr) << 1 z,c 2 fmulsu rd, rr fractional multiply signed with unsigned r1:r0 (rd x rr) << 1 z,c 2 branch instructions rjmp k relative jump pc pc + k + 1 none 2 ijmp indirect jump to (z) pc z none 2 jmp k direct jump pc knone3 rcall k relative subroutine call pc pc + k + 1 none 3 icall indirect call to (z) pc znone3 call k direct subroutine call pc knone4 ret subroutine return pc stack none 4 reti interrupt return pc stack i 4 cpse rd,rr compare, skip if equal if (rd = rr) pc pc + 2 or 3 none 1/2/3 cp rd,rr compare rd ? rr z, n,v,c,h 1 cpc rd,rr compare with carry rd ? rr ? c z, n,v,c,h 1 cpi rd,k compare register with immediate rd ? k z, n,v,c,h 1 sbrc rr, b skip if bit in register cleared if (rr(b)=0) pc pc + 2 or 3 none 1/2/3 sbrs rr, b skip if bit in register is set if (rr(b)=1) pc pc + 2 or 3 none 1/2/3 sbic p, b skip if bit in i/o register cleared if (p(b)=0) pc pc + 2 or 3 none 1/2/3 sbis p, b skip if bit in i/o register is set if (p(b)=1) pc pc + 2 or 3 none 1/2/3 brbs s, k branch if status flag set if (sreg(s) = 1) then pc pc+k + 1 none 1/2 brbc s, k branch if status flag cleared if (sreg(s) = 0) then pc pc+k + 1 none 1/2 breq k branch if equal if (z = 1) then pc pc + k + 1 none 1/2 brne k branch if not equal if (z = 0) then pc pc + k + 1 none 1/2 brcs k branch if carry set if (c = 1) then pc pc + k + 1 none 1/2 brcc k branch if carry cleared if (c = 0) then pc pc + k + 1 none 1/2 brsh k branch if same or higher if (c = 0) then pc pc + k + 1 none 1/2 brlo k branch if lower if (c = 1) then pc pc + k + 1 none 1/2 brmi k branch if minus if (n = 1) then pc pc + k + 1 none 1/2 brpl k branch if plus if (n = 0) then pc pc + k + 1 none 1/2 brge k branch if greater or equal, signed if (n v= 0) then pc pc + k + 1 none 1/2 brlt k branch if less than zero, signed if (n v= 1) then pc pc + k + 1 none 1/2 brhs k branch if half carry flag set if (h = 1) then pc pc + k + 1 none 1/2 brhc k branch if half carry flag cleared if (h = 0) then pc pc + k + 1 none 1/2 brts k branch if t flag set if (t = 1) then pc pc + k + 1 none 1/2 brtc k branch if t flag cleared if (t = 0) then pc pc + k + 1 none 1/2 brvs k branch if overflow flag is set if (v = 1) then pc pc + k + 1 none 1/2
18 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 brvc k branch if overflow flag is cleared if (v = 0) then pc pc + k + 1 none 1/2 brie k branch if interrupt enabled if ( i = 1) then pc pc + k + 1 none 1/2 brid k branch if interrupt disabled if ( i = 0) then pc pc + k + 1 none 1/2 bit and bit-test instructions sbi p,b set bit in i/o register i/o(p,b) 1none2 cbi p,b clear bit in i/o register i/o(p,b) 0none2 lsl rd logical shift left rd(n+1) rd(n), rd(0) 0 z,c,n,v 1 lsr rd logical shift right rd(n) rd(n+1), rd(7) 0 z,c,n,v 1 rol rd rotate left through carry rd(0) c,rd(n+1) rd(n),c rd(7) z,c,n,v 1 ror rd rotate right through carry rd(7) c,rd(n) rd(n+1),c rd(0) z,c,n,v 1 asr rd arithmetic shift right rd(n) rd(n+1), n=0..6 z,c,n,v 1 swap rd swap nibbles rd(3..0) rd(7..4),rd(7..4) rd(3..0) none 1 bset s flag set sreg(s) 1 sreg(s) 1 bclr s flag clear sreg(s) 0 sreg(s) 1 bst rr, b bit store from register to t t rr(b) t 1 bld rd, b bit load from t to register rd(b) tnone1 sec set carry c 1c1 clc clear carry c 0 c 1 sen set negative flag n 1n1 cln clear negative flag n 0 n 1 sez set zero flag z 1z1 clz clear zero flag z 0 z 1 sei global interrupt enable i 1i1 cli global interrupt disable i 0 i 1 ses set signed test flag s 1s1 cls clear signed test flag s 0 s 1 sev set twos complement overflow. v 1v1 clv clear twos complement overflow v 0 v 1 set set t in sreg t 1t1 clt clear t in sreg t 0 t 1 seh set half carry flag in sreg h 1h1 clh clear half carry flag in sreg h 0 h 1 data transfer instructions mov rd, rr move between registers rd rr none 1 movw rd, rr copy register word rd+1:rd rr+1:rr none 1 ldi rd, k load immediate rd knone1 ld rd, x load indirect rd (x) none 2 ld rd, x+ load indirect and post-inc. rd (x), x x + 1 none 2 ld rd, - x load indirect and pre-dec. x x - 1, rd (x) none 2 ld rd, y load indirect rd (y) none 2 ld rd, y+ load indirect and post-inc. rd (y), y y + 1 none 2 ld rd, - y load indirect and pre-dec. y y - 1, rd (y) none 2 ldd rd,y+q load indirect with displacement rd (y + q) none 2 ld rd, z load indirect rd (z) none 2 ld rd, z+ load indirect and post-inc. rd (z), z z+1 none 2 ld rd, -z load indirect and pre-dec. z z - 1, rd (z) none 2 ldd rd, z+q load indirect with displacement rd (z + q) none 2 lds rd, k load direct from sram rd (k) none 2 st x, rr store indirect (x) rr none 2 st x+, rr store indirect and post-inc. (x) rr, x x + 1 none 2 st - x, rr store indirect and pre-dec. x x - 1, (x) rr none 2 st y, rr store indirect (y) rr none 2 st y+, rr store indirect and post-inc. (y) rr, y y + 1 none 2 st - y, rr store indirect and pre-dec. y y - 1, (y) rr none 2 std y+q,rr store indirect with displacement (y + q) rr none 2 st z, rr store indirect (z) rr none 2 st z+, rr store indirect and post-inc. (z) rr, z z + 1 none 2 st -z, rr store indirect and pre-dec. z z - 1, (z) rr none 2 std z+q,rr store indirect with displacement (z + q) rr none 2 sts k, rr store direct to sram (k) rr none 2 lpm load program memory r0 (z) none 3 lpm rd, z load program memory rd (z) none 3 lpm rd, z+ load program memory and post-inc rd (z), z z+1 none 3 spm store program memory (z) r1:r0 none - in rd, p in port rd pnone1 out p, rr out port p rr none 1 push rr push register on stack stack rr none 2 pop rd pop register from stack rd stack none 2 mnemonics operands description operation flags #clocks
19 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 mcu control instructions nop no operation none 1 sleep sleep (see specific descr. for sleep function) none 1 wdr watchdog reset (see specific descr. for wdr/timer) none 1 break break for on-chip debug only none n/a mnemonics operands description operation flags #clocks
20 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9. ordering information notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging, complies to the european directive for restriction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc , see figure 29-1 on page 330 . 4. tape & reel. 9.1 atmel atmega169a speed [mhz] (3) power supply ordering code (2) package type (1) operational range 16 1.8 - 5.5v atmega169a-au atmega169a-aur (4) atmega169a-mu atmega169a-mur (4) atmega169a-mch atmega169a-mchr (4) 64a 64a 64m1 64m1 64mc 64mc industrial (-4 0 c to 85 c) atmega169a-an atmega169a-anr (4) atmega169a-mn atmega169a-mnr (4) 64a 64a 64m1 64m1 extended (-4 0 c to 105 c) package type 64a 64-lead, thin (1.0mm) plastic gull wing quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm body, lead pitch 0.50mm, q uad flat no-lead/micro l ead frame package (qfn/mlf) 64mc 64-lead (2-row staggered), 7 7 1.0mm body, 4.0 4.0 mm exposed pad, quad flat no-lead package (qfn)
21 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.2 atmel atmega169pa notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging, complies to the european directive for restriction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc , see figure 29-1 on page 330 . 4. tape & reel. 5. see characterization specification at 105c. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 16 1.8 - 5.5v atmega169pa-au atmega169pa-aur (4) atmega169pa-mu atmega169pa-mur (4) atmega169pa-mch atmega169pa-mchr (4) 64a 64a 64m1 64m1 64mc 64mc industrial (-4 0 c to 85 c) atmega169pa-an atmega169pa-anr (4) atmega169pa-mn atmega169pa-mnr (4) 64a 64a 64m1 64m1 extended (-4 0 c to 105 c) (5) package type 64a 64-lead, thin (1.0mm) plastic gull wing quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm body, lead pitch 0.50mm, q uad flat no-lead/micro l ead frame package (qfn/mlf) 64mc 64-lead (2-row staggered), 7 7 1.0mm body, 4.0 4. 0mm exposed pad, quad flat no-lead package (qfn)
22 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.3 atmel atmega329a notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape & reel. 5. see characterization specifications at 105c. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega329a-au atmega329a-aur (4) atmega329a-mu atmega329a-mur (4) 64a 64a 64m1 64m1 industrial (-4 0 c to 85 c) atmega329a-an atmega329a-anr (4) atmega329a-mn atmega329a-mnr (4) 64a 64a 64m1 64m1 extended (-4 0 c to 105 c) (5) package type 64a 64-lead, 14 14 1.0mm, thin profile plastic quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm, quad flat no-l ead/micro lead frame package (qfn/mlf)
23 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape &reel. 5. see characterization specification at 105c. 9.4 atmel atmega329pa speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega329pa-au atmega329pa-aur (4) atmega329pa-mu atmega329pa-mur (4) 64a 64a 64m1 64m1 industrial (-4 0 c to 85 c) atmega329pa-an atmega329pa-anr (4) atmega329pa-mn atmega329pa-mnr (4) 64a 64a 64m1 64m1 extended (-4 0 c to 105 c) (5) package type 64a 64-lead, 14 14 1.0mm, thin profile plastic quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm, quad flat no-l ead/micro lead frame package (qfn/mlf)
24 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape & reel. 5. see characterization specification at 105c. 9.5 atmel atmega3290a speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega3290a-au atmega3290a-aur (4) 100a 100a industrial (-4 0 c to 85 c) atmega3290a-an atmega3290a-anr (4) 100a 100a extended (-4 0 c to 105 c) (5) package type 100a 100-lead, 14 14 1.0mm, 0.5mm lead pitch, thin profile plastic quad flat package (tqfp)
25 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape & reel. 5. see characterization specification at 105c. 9.6 atmel atmega3290pa speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega3290pa-au atmega3290pa-aur (4) 100a 100a industrial (-4 0 c to 85 c) atmega3290pa-an atmega3290pa-anr (4) 100a 100a industrial (-4 0 c to 105 c) (5) package type 100a 100-lead, 14 14 1.0mm, 0.5mm lead pitch, thin profile plastic quad flat package (tqfp)
26 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.7 atmel atmega649a notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-1 on page 330 . 4. tape & reel. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 16 1.8 - 5.5v atmega649a-au atmega649a-aur (4) atmega649a-mu atmega649a-mur (4) 64a 64a 64m1 64m1 industrial (-4 0 c to 85 c) package type 64a 64-lead, 14 14 1.0mm, thin profile plastic quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm, quad flat no-l ead/micro lead frame package (qfn/mlf)
27 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.8 atmel atmega649p notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-1 on page 330 . 4. tape & reel. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 16 1.8 - 5.5 v atmega649p-au atmega649p-aur (4) atmega649p-mu atmega649p-mur (4) 64a 64a 64m1 64m1 industrial (-4 0 c to 85 c) package type 64a 64-lead, 14 14 1.0mm, thin profile plastic quad flat package (tqfp) 64m1 64-pad, 9 9 1.0mm, quad flat no-l ead/micro lead frame package (qfn/mlf)
28 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.9 atmel atmega6490a notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape & reel. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega6490a-au atmega6490a-aur (4) 100a 100a industrial (-4 0 c to 85 c) package type 100a 100-lead, 14 14 1.0mm, 0.5mm lead pitch, thin profile plastic quad flat package (tqfp)
29 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 9.10 atmel atmega6490p notes: 1. this device can also be supplied in wafer form. please c ontact your local atmel sales office for detailed ordering info rmation and minimum quantities. 2. pb-free packaging complies to the european directive for re striction of hazardous substances (rohs directive). also halide free and fully green. 3. for speed vs. v cc see figure 29-2 on page 330 . 4. tape & reel. speed [mhz] (3) power supply ordering code (2) package type (1) operational range 20 1.8 - 5.5v atmega6490p-au atmega6490p-aur (4) 100a 100a industrial (-4 0 c to 85 c) package type 100a 100-lead, 14 14 1.0mm, 0.5mm lead pitch, thin profile plastic quad flat package (tqfp)
30 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 10. packaging information 10.1 64a 2325 orchard parkway san jose, ca 95131 title drawing no. rev. 64a, 64-lead, 14 x 14mm body size, 1.0mm body thickness, 0.8mm lead pitch, thin profile plastic quad flat package (tqfp) c 64a 2010-10-20 pin 1 identifier 0~7 pin 1 l c a1 a2 a d1 d e e1 e b common dimensions (unit of measure = mm) symbol min nom max note notes: 1.this package conforms to jedec reference ms-026, variation aeb. 2. dimensions d1 and e1 do not include mold protrusion. allowable protrusion is 0.25mm per side. dimensions d1 and e1 are maximum plastic body size dimensions including mold mismatch. 3. lead coplanarity is 0.10mm maximum. a C C 1.20 a1 0.05 C 0.15 a2 0.95 1.00 1.05 d 15.75 16.00 16.25 d1 13.90 14.00 14.10 note 2 e 15.75 16.00 16.25 e1 13.90 14.00 14.10 note 2 b 0.30 C 0.45 c 0.09 C 0.20 l 0.45 C 0.75 e 0.80 typ 2325 orchard parkway san jose, ca 95131 title drawing no. rev. 64a, 64-lead, 14 x 14mm body size, 1.0mm body thickness, 0.8mm lead pitch, thin profile plastic quad flat package (tqfp) c 64a 2010-10-20 pin 1 identifier 0~7 pin 1 l c a1 a2 a d1 d e e1 e b common dimensions (unit of measure = mm) symbol min nom max note notes: 1.this package conforms to jedec reference ms-026, variation aeb. 2. dimensions d1 and e1 do not include mold protrusion. allowable protrusion is 0.25mm per side. dimensions d1 and e1 are maximum plastic body size dimensions including mold mismatch. 3. lead coplanarity is 0.10mm maximum. a C C 1.20 a1 0.05 C 0.15 a2 0.95 1.00 1.05 d 15.75 16.00 16.25 d1 13.90 14.00 14.10 note 2 e 15.75 16.00 16.25 e1 13.90 14.00 14.10 note 2 b 0.30 C 0.45 c 0.09 C 0.20 l 0.45 C 0.75 e 0.80 typ
31 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 10.2 64m1 2325 orchard parkway san jose, ca 95131 title drawing no. rev. 64m1 , 64-pad, 9 x 9 x 1.0 mm body, lead pitch 0.50 mm, h 64m1 2010-10-19 common dimensions (unit of measure = mm) symbol min nom max note a 0.80 0.90 1.00 a1 ? 0.02 0.05 b 0.18 0.25 0.30 d d2 5.20 5.40 5.60 8.90 9.00 9.10 8.90 9.00 9.10 e e2 5.20 5.40 5.60 e 0.50 bsc l 0.35 0.40 0.45 notes: 1. jedec standard mo-220, (saw singulation) fig. 1, vmmd. 2. dimension and tolerance conform to asmey14.5m-1994. top view side view bottom view d e marked pin# 1 id seating plane a1 c a c 0.08 1 2 3 k 1.25 1.40 1.55 e2 d2 b e pin #1 corner l pin #1 triangle pin #1 chamfer (c 0.30) option a option b pin #1 notch (0.20 r) option c k k 5.40 mm exposed pad, micro lead frame package (mlf) 2325 orchard parkway san jose, ca 95131 title drawing no. rev. 64m1 , 64-pad, 9 x 9 x 1.0 mm body, lead pitch 0.50 mm, h 64m1 2010-10-19 common dimensions (unit of measure = mm) symbol min nom max note a 0.80 0.90 1.00 a1 ? 0.02 0.05 b 0.18 0.25 0.30 d d2 5.20 5.40 5.60 8.90 9.00 9.10 8.90 9.00 9.10 e e2 5.20 5.40 5.60 e 0.50 bsc l 0.35 0.40 0.45 notes: 1. jedec standard mo-220, (saw singulation) fig. 1, vmmd. 2. dimension and tolerance conform to asmey14.5m-1994. top view side view bottom view d e marked pin# 1 id seating plane a1 c a c 0.08 1 2 3 k 1.25 1.40 1.55 e2 d2 b e pin #1 corner l pin #1 triangle pin #1 chamfer (c 0.30) option a option b pin #1 notch (0.20 r) option c k k 5.40 mm exposed pad, micro lead frame package (mlf)
32 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 10.3 64mc title drawing no. gpc rev. package drawing contact: packagedrawings@atmel.com 64mc zxc a 64mc, 64qfn (2-row staggered), 7 x 7 x 1.00 mm body, 4.0 x 4.0 mm exposed pad, quad flat no lead package 10/3/07 common dimensions (unit of measure = mm) symbol min nom max note a 0.80 0.90 1.00 a1 0.00 0.02 0.05 b 0.18 0.23 0.28 c 0.20 ref d 6.90 7.00 7.10 d2 3.95 4.00 4.05 e 6.90 7.00 7.10 e2 3.95 4.00 4.05 et ? 0.65 ? er ? 0.65 ? k 0.20 ? ? (ref) l 0.35 0.40 0.45 y 0.00 ? 0.075 side view top view bottom view note: 1. the terminal #1 id is a laser-marked feature . pin 1 id d e a1 a y c et/2 r0.20 0.40 b1 a1 b30 a34 b a8 b7 et d2 b16 a18 b22 a25 e2 k (0.1) ref b8 a9 (0.18) ref l b15 a17 l er a26 b23 et
33 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 10.4 100a 100a , 100-lead, 14 x 14mm body size, 1.0mm body thickness, 0.5mm lead pitch, thin profile plastic quad flat package (tqfp) 100a e 2014-02-05 pin 1 identifier 0~7 pin 1 l c a1 a2 a d1 d e e1 e b a ? ? 1.20 a1 0.05 ? 0.15 a2 0.95 1.00 1.05 d 15.75 16.00 16.25 d1 13.90 14.00 14.10 note 2 e 15.75 16.00 16.25 e1 13.90 14.00 14.10 note 2 b 0.17 ? 0.27 c 0.09 ? 0.20 l 0.45 ? 0.75 e 0.50 typ notes: 1. this package conforms to jedec reference ms-026, variation aed. 2. dimensions d1 and e1 do not include mold protrusion. allowable protrusion is 0.25mm per side. dimensions d1 and e1 are maximum plastic body size dimensions including mold mismatch. 3. lead coplanarity is 0.08mm maximum. common dimensions (unit of measure = mm) symbol min nom max note
34 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 11. errata 11.1 atmel atmega169a no known errata 11.2 atmel atmega169a/169pa rev. a to f not sampled. 11.3 atmel atmega169pa rev. g no known errata. 11.4 atmel atmega329a/329pa rev. a ? interrupts may be lost when writing the timer registers in the asynchronous timer ? using bod disable will make the chip reset 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx). 2. using bod disable will make the chip reset if the part enters sleep with the bod turned off with the bod disable option enabled, a bod reset will be generated at wakeup and the chip will reset. problem fix/workaround do not use bod disable 11.5 atmel atmega329a/329pa rev. b ? interrupts may be lost when writing the timer registers in the asynchronous timer 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx).
35 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 11.6 atmel atmega329a/329pa rev. c ? interrupts may be lost when writing the timer registers in the asynchronous timer 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx). 11.7 atmel atmega3290a/3290pa rev. a ? interrupts may be lost when writing the timer registers in the asynchronous timer ? using bod disable will make the chip reset 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx). 2. using bod disable will make the chip reset if the part enters sleep with the bod turned off with the bod disable option enabled, a bod reset will be generated at wakeup and the chip will reset. problem fix/workaround do not use bod disable 11.8 atmel atmega3290a/3290pa rev. b ? interrupts may be lost when writing the timer registers in the asynchronous timer 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx).
36 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 11.9 atmel atmega3290a/3290pa rev. c ? interrupts may be lost when writing the timer registers in the asynchronous timer 1. interrupts may be lost when writing the timer registers in the asynchronous timer the interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous timer/counter register (tcntx) is 0x00. problem fix/ workaround always check that the asynchronous timer/counter regist er neither have the value 0xff nor 0x00 before writ- ing to the asynchronous timer contro l register (tccrx), asynchronous timer counter register (tcntx), or asynchronous output compare register (ocrx). 11.10 atmel atmega649a/649p/atmega6490a/6490p no known errata.
37 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 12. datasheet revision history please note that the referring page numbers in this section are referring to this document.the referring revision in this section are referring to the document revision. 12.1 rev. 8284f - 08/2014 12.2 rev. 8284e - 02/2013 12.3 rev. 8284d - 06/11 12.4 rev. 8284c - 06/11 1. new back page 2. changed chip references in the text in section 9.6 ?low-frequency xt al oscillator? on page 34 . 1. new template 2. countless, small corrections made throughout the whole document 3. in section ?system and reset characteristics? on page 332 the sentence ?the following chara apply only to...? has been deleted 4. former section 29.6 on page 332 (?power-on reset?), subsection 29.6.1 (?atmega169a/169pa/329a/329pa/3290a/3290pa/649a/649p/6490a/6490pa revision c and later?) and subsection 29.6.2 (?atmega329a/329pa/3290a/3290pa/649a/649p/6490a/6490pa revision a and b?) have been deleted 5. the maximum limits for ?power supply current? in table 29-9 on page 328 have been corrected 6. the maximum limits for ?power supply current? in table 29-11 on page 329 have been corrected 7. added ?electrical characteristics ? ta = -40c to 105c? on page 337 . 8. added ?typical characteristics ? ta = -40c to 105c? on page 658 . 9. updated ?ordering information? on page 20 1. removed ?preliminary? from the front page 2. updated the table 29-16 on page 344 . v pot falling / min. is 0.05v, not 0.5v 1. updated ?signature bytes? on page 294 . a, p, and pa devices have different signature (0x002) bytes. 2. updated all ?dc characteristics? on page 323 .
38 atmega169a/pa/329a/pa/649a/p/3290a/ pa/6490a/p [datasheet summary] 8284fs?avr?07/2014 12.5 rev. 8284b - 03/11 12.6 rev. 8284a - 10/10 1. updated the datasheet according to the atmel new brand style guide. 2. updated all ?ordering information? on page 20 . 3. updated ?packaging information? on page 30 . 1. initial revision
atmel corporation 1600 technology drive, san jose, ca 95110 usa t: (+1)(408) 441.0311 f: (+1)(408) 436.4200 |www.atmel.com atmel ? , atmel logo and combinations thereof, enabling unlimited possibilities ? , avr ? and others are registered trademarks or trademarks of atmel corporation in u.s. and other countries. other terms and product names may be trademarks of others. 2014 atmel corporation. / rev.: atmel-8284fs-avr-atmega169a/pa/329a/pa/649a/p/3290a/pa/6490a/p-datasheet_07/2014 disclaimer: the information in this document is provided in connec tion with atmel products. no lic ense, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atme l products. except as set forth in the atmel terms and condition s of sales located on the atmel website, atmel assumes no liability whatsoever and disclaims any express, implied or statutory warranty relating to its product s including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or non-in fringement. in no event shall a tmel be liable for any direct, indirect, consequential, punitive, special or incidental damages (including, without limitation, damages for loss and p rofits, business interruption, or loss of information) arisin g out of the use or inability to use this document, even if atmel has been advised of the possibility of such damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without not ice. atmel does not make any commitment to update the informati on contained herein. unless spec ifically provided otherwise, atmel products are not suitable for, and shall not be used in, aut omotive applications. atmel products are not intended, author ized, or warranted for use as components in applications intended to support or sustain life. safety-critical, military, and automotive applications discla imer: atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in signi ficant personal injury or death (?safety-critical applications? ) without an atmel officer's specif ic written consent. safety-critical applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear f acilities and weapons systems. atmel products are not designed nor intended for use in military or aerospace applic ations or environments unless specific ally designated by atmel as military-grad e. atmel products are not designed nor intended for use in automotive applications unles s specifically designated by atmel as automotive-grade. x x x x x x


▲Up To Search▲   

 
Price & Availability of ATMEGA3290PA-14

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X